package com.rockcent.wechat;

import com.rockcent.common.BaseRoutes;
import org.springframework.stereotype.Component;

/**
 * Created by oyhk on 16/7/14.
 * <p>
 * 路由文件
 * <p>
 * 1.规范ID 表明是路径的变量参数: 例如
 * PRODUCT_$ID = "/product/{id}";
 * $ID = {id}
 */
@Component
public class Routes extends BaseRoutes {




    public Routes() throws IllegalAccessException {
        super();
    }
    public static final String API_PREFIX = "/api/v2";
    //内部API前缀
    public static final String API_LOCAL_PREFIX = "/api/local";

    // 微信 用户认证
    public static final String WECHAT_AUTH = "/wechat/auth";
    // 微信 对接配置
    public static final String WECHAT_CONFIG = "/wechat/config";
    //微信 对接JSSDK
    public static final String WECHAT_JSSDK_CONFIG = "/wechat/jssdk/config";

    // 订单 确认
    public static final String ORDER_CONFIRM_GOODS = "/order/confirm";
    // 订单 提交
    public static final String ORDER_COMMIT = "/order/commit";
    // 订单 礼包提交
    public static final String ORDER_GIFT_PACKET_COMMIT = "/order/gift_packet_commit";
    //订单 取消
    public static final String ORDER_CANCEL = "/order/cancel";
    public static final String ORDER_CALCULATED_PRICE = "/order/calculated_price";
    //订单列表
    public static final String ORDER_LIST = "/order/list";
    //订单列表统计
    public static final String ORDER_LIST_STATISTICS = "/order/list_statistics";
    //订单详情
    public static final String ORDER_SHOW = "/order/show/{orderNum}";
    //我的宝贝
    public static final String ORDER_MY_PRODUCTS = "/order/my_products";



    //用户钱包信息
    public static final String CUSTOMER_WALLET_SHOW = "/customer/wallet/show";
    //查询用户绑定的银行卡
    public static final String CUSTOMER_BANK_LIST_BINDING = "/customer/bank/list_binding";
    //用户绑定银行卡
    public static final String CUSTOMER_BANK_BINDING = "/customer/bank/binding";
    //修改已绑定的银行卡
    public static final String CUSTOMER_BANK_UPDATE ="/customer/bank/update";
    //解除绑定银行卡
    public static final String CUSTOMER_BANK_REMOVE_BINDING ="/customer/bank/remove_binding";
    //支持银行类型
    public static final String CUSTOMER_BANK_SUPPORT_BANK = "/customer/bank/support_bank";
    //用户收支明细
    public static final String CUSTOMER_WALLET_DETAIL = "/customer/wallet/detail";
    //用户提现
    public static final String CUSTOMER_APPLY_WITHDRAW = "/customer/apply/withdraw";

    //查询用户的收藏
    public static final String CUSTOMER_FAVORITES_LIST = "/customer/favorites/list";
    //添加用户收藏
    public static final String CUSTOMER_FAVORITES_ADD = "/customer/favorites/add";
    //删除用户收藏
    public static final String CUSTOMER_FAVORITES_DELETE = "/customer/favorites/delete";
    //查看我分享的产品
    public static final String CUSTOMER_MY_SHARED_PRODUCT =  "/customer/my_shared_product";
    //查询我分享的礼包
    public static final String CUSTOMER_MY_SHARED_GIFT_PACKET = "/customer/my_shared_gift_packet";
    //查询客户信息
    public static final String CUSTOMER_SHOW = "/customer/show";
    //增加客户收货地址
    public static final String CUSTOMER_ADDRESS_CREATE = "/customer/address_create";
    //修改客户收货地址
    public static final String CUSTOMER_ADDRESS_UPDATE = "/customer/address_update";
    //列表查询客户收货地址
    public static final String CUSTOMER_SHOPPING_ADDRESS = "/customer/shopping_address";
    //根据查询用户某
    public static final String CUSTOMER_ADDRESS = "/customer/address";
    //设置默认收货地址
    public static final String CUSTOMER_DEFAULT_ADDRESS = "/customer/default_address";
    //删除收货地址
    public static final String CUSTOMER_DELETE_ADDRESS = "/customer/delete_address";
    // 查询产品清单
    public static final String CUSTOMER_PRODCUT_LIST = "/customer/product_list";
    //查看一个月的分享统计
    public static final String CUSTOMER_SHARED_SUMMARY_MONTH = "/customer/shared_summary_month";
    //用户分享产品
    public static final String CUSTOMER_SHARING_PRODUCT = "/customer/sharing_product";
    //用户分享礼包
    public static final String CUSTOMER_SHARING_GIFT_PACKET = "/customer/sharing_gift_packet";
    //绑定核销远
    public static final String CUSTOMER_BELONG_STORE_VERIFIER = "/customer/belong/store/verifier";
    //检查客户购买产品数量的限制，HK说先不做 16/10/27
    //public static final String CUSTOMER_CHECK_PRODUCT_LIMIT = "/customer/check_product_limit";

    //领券中心
    public static final String MALL_COUPON_CENTER = "/mall/coupon_center";
    //优选
    public static final String MALL_PREFERENCE  = "/mall/preference";
    //首页布局
    public static final String MALL_LAYOUT = "/mall/layout";
    //广告管理列表
    public static final String MALL_LIST_BANNERS = "mall/list_banners";
    //专题列表
    public static final String MALL_LIST_THEMES = "/mall/list_themes";
    //专题产品列表
    public static final String MALL_THEMES_PRODUCT = "/mall/themes_product";
    //通过域名获取appid
    public static final String MALL_WECHAT_APPID = "/mall/wechat_appid";
    //查询商城信息
    public static final String MALL_SHOW = "/mall/show";
    //查询某商城下分类列表
    public static final String MALL_GET_CATEGORIES = "/mall/get_categories";
    //查询商城下的根目录
    public static final String MALL_GET_RROOT_CATEGORIES = "/mall/get_root_categories";
    //推荐商品
    public static final String MALL_GET_ADVISING = "/mall/get_advising";
    //绑定手机协议详情(M端)
    public static final String MALL_PROTOCOLS_INFO = "/mall/protocols_info";
    //配置M端微信菜单
    public static final String MALL_WECHAT_MENU_CONFIG = "/mall/wechat/menu/config";
    //M端微信菜单发布
    public static final String MALL_WECHAT_MENU_RELEASE = "/mall/wechat/menu/release";
    //微信菜单查询
    public static final String MALL_WECHAT_MENU_LIST = "/mall/wechat/menu/list";
    //查询微信订单
    public static final String MALL_WECHAT_ORDER_QUERY = "/mall/wechat/balance/account";
    //根据类别分页获取非图文素材列表
    public static final String MALL_WECHAT_MATERIAL_FILEBATCHGET = "/mall/wechat/material/file_batch_get";
    //根据类别分页获取图文素材列表
    public static final String MALL_WECHAT_MATERIAL_NEWSBATCHGET = "/mall/wechat/material/news_batch_get";
    //根据素材ID获取图文素材
    public static final String MALL_WECHAT_MATERIAL_INFO = "/mall/wechat/material/info";

    //查询商户联系电话
    public static final String MERCHANT_GET_MOBILE = "/merchant/get_mobile";
    //商家店铺信息
    public static final String MERCHANT_INDEX = "/merchant/index";
    //新品上市
    public static final String MERCHANT_LATEST_PRODUCTS = "/merchant/latest_products";
    //产品列表
    public static final String MERCHANT_LIST_PRODUCTS = "/merchant/list_products";
    //精品推荐
    public static final String MERCHANT_ADVISING_PRODUCTS = "/merchant/advising_products";
    //查询某商家下的分类列表
    public static final String MERCHANT_GET_CATEGORIES = "/merchant/get_categories";
    //商家下的搜索
    public static final String MERCHANT_SEARCH = "/merchant/search";
    //商家下的可领票券列表
    public static final String MERCHANT_COUPONS = "/merchant/coupons";

    //商家旗下所有门店列表
    public static final String MERCHANT_STORE_LIST = "/merchant/store/list";
    //产品适合兑换的所有门店列表
    public static final String MERCHANT_STORE_LIST_BY_PRODUCT = "/merchant/store/list_by_product";
    //查询门店
    public static final String MERCHANT_STORE = "/merchant/store";

    //搜索产品
    public static final String PRODUCT_SEARCH = "/product/search";
    //产品总体评价
    public static final String PRODUCT_EVALUATION_SHOW_TOTAL = "/product/evaluation/show_total";
    //查询图文详情
    public static final String PRODUCT_SHOW_DETAIL = "/product/show_detail";
    //修改产品评价
    public static final String PRODUCT_EVALUATION_UPDATE = "/product/evaluation/update";
    //产品评价列表
    public static final String PRODUCT_EVALUATION_LIST = "/product/evaluation/list";
    //发现产品
    public static final String PRODUCT_DISCOVERY = "/product/discovery";
    //增加产品评价
    public static final String PRODUCT_EVALUATION_ADD = "/product/evaluation/add";
    //查询产品列表
    public static final String PRODUCT_LIST = "/product/list";
    //产品适用门店列表
    //public static final String PRODUCT_STORE_LIST = "/product/store/list";
    //查询产品详情
    public static final String PRODUCT_SHOW = "/product/show/{id}";
    public static final String PRODUCT_INFO = "/product/info/{id}";
    //票券适用的产品
    public static final String PRODCUT_COUPON_LIST = "/product/coupon_list";

    //获取购物车
    public static final String SHOPPING_CART_LIST = "/shopping_cart/list";
    //删除购物车
    public static final String SHOPPING_CART_DELETE = "/shopping_cart/delete";
    //更新购物车
    public static final String SHOPPING_CART_UPDATE ="/shopping_cart/update";

    //地区列表
    public static final String LOCATION_LIST = "/location/list";
    //查询地区
    public static final String LOCATION_SHOW ="/location/show";

    //客户卡券二维码生成
    public static final String CUSTOMER_COUPON_CREATE_VERIFY_CODE ="/customer/coupon/create/verify/code";

    //客户劵包
    public static final String CUSTOMER_COUPON_PAGE ="/customer/coupon/page";
    //客户券包统计个数
    public static final String CUSTOMER_COUPON_STATISTICS = "/customer/coupon/statistics";
    //客户可用订单卡券
    public static final String CUSTOMER_COUPON_WALLET_FOR_ORDER ="/customer/coupon/wallet/for_order";
    //客户卡券详细信息
    public static final String CUSTOMER_COUPON_INFO ="/customer/coupon/info";
    //客户卡券适用商家门店列表
    public static final String CUSTOMER_COUPON_MERCHANT_STORE_LIST ="/customer/coupon/merchant/store/List";
    //客户卡券扫码核销
    public static final String CUSTOMER_COUPON_SCAN_VERIFY ="/customer/coupon/scan/verify";
    //卡券扫码核销轮询
    public static final String CUSTOMER_COUPON_SCAN_ROLL = "/customer/coupon/scan/roll";
    //客户领券
    public static final String CUSTOMER_COUPON_SAVE ="/customer/coupon/save";
    //客户上传头像
    public static final String CUSTOMER_DETAIL_UPLOAD_HEAD_IMG = "/customer/detail/upload_head_img";

    //创建客户订单二维码
    public static final String ORDER_CREATE_VERIFY_CODE ="/order/create/verify/code";
    //订单扫码核销
    public static final String ORDER_SCAN_VERIFY ="/order/scan/verify";
    //订单确认收货
    public static final String ORDER_CONFIRM_TAKE_GOODS ="/order/confirm/take/goods";
    //订单扫码核销轮询
    public static final String ORDER_SCAN_ROlL = "/order/scan/roll";


    //商城平台礼包分页
    public static final String MALL_GIFT_PACKET_PAGE = "/mall/gift/packet/page";
    //商家礼包分页
    public static final String MERCHANT_GIFT_PACKET_PAGE = "/merchant/gift/packet/page";
    //礼包详情
    public static final String GIFT_PACKET_INFO = "/gift/packet/info/{couponId}";
    //查询包含某商品的礼包
    public static final String GIFT_PACKET_BY_PRODUCT = "/gift/packet/by_product";

    //查询渠道产品列表
    public static final String CHANNEL_PRODUCT_SHOW = "/channel/product_show";
    //查询渠道信息
    public static final String CHANNEL_GET = "/channel/get";

    //记录用户访问页面痕迹
    public static final String EVENT_PAGE_VIEWED = "/event/Page_viewed";

    //红包详情(进入红包领取界面)
    public static final String RED_PACKET_STATUS = "/red_packet/status";
    //（领取）获取红包
    public static final String RED_PACKET_SHOW =  "/red_packet/show";
    //(领取后卡券)红包领取情况
    public static final String RED_PACKET_MY_RED_PACKET = "/red_packet/my_red_packet";

    //发送短信验证码
    public static final String SEND_VALID_CODE = "/sms/send_valid_code";
    public static final String  VALIDATE_CODE = "/sms/validate_code";
    //校验手机号码
    public static final String  VALIDATE_PHONE_CODE = "/sms/validate_phone_code";
    //发送手机验证码短信
    public static final String  SEND_PHONE_VALID_CODE = "/sms/send_phone_valid_code";

    //快递100实时快递查询接口
    public static final String ORDER_LOGISTICS_QUERY = "/order/logistics/query";

    public static final String COUPON_INFO ="/coupon/info";

    public static final String MONITOR_TELNET_INFO ="/monitor/telnet/info";

    public static final String CUSTOMER_CASH_COUPON_COUNT ="/customer/cash/coupon/count";
    public static final String CUSTOMER_CASH_COUPON_PAGE ="/customer/cash/coupon/page";
    public static final String CUSTOMER_COUPON_RECEIVE="/customer/cash/coupon/receive";
    public static final String CUSTOMER_CASH_COUPON_CLOSETO_INFO="/customer/cash/coupon/closeto/info";

    public static final String MALL_INTEGRATION_COUPON_LIST = "/integration_coupon/list";
    public static final String MALL_INTEGRATION_COUPON = "/integration_coupon";
    // 微信小程序 用户认证
    public static final String WXAPP_AUTH = "/wxapp/auth";
    //微信小程序 查询渠道产品列表
    public static final String CHANNEL_WXAPP_PRODUCT_LIST = "/channel/wxapp_product/list";
    //检查登录状态
    public static final String CHECK_LOGIN = "/check/login";

    //微信小程序 查询渠道产品列表
    public static final String CHANNEL_WXAPP_INDEX_CHANNEL = "/channel/index/info";

    public static final String CUSTOMER_VALIDATE_CODE = "/customer/validate_code";

    //用户分享产品
    public static final String CUSTOMER_SHARED_PRODUCT_SAVE =  "/customer/shared/product/save";
    //查看分享产品
    public static final String CUSTOMER_SHARED_PRODUCT_INFO =  "/customer/shared/product/info";
    //更新分享状态
    public static final String CUSTOMER_SHARED_PRODUCT_UPDATE =  "/customer/shared/product/update";
    //用户分享产品产生的订单
    public static final String CUSTOMER_SHARED_PRODUCT_ORDERS = "/customer/shared/product/orders";
    //用户分享礼包产生的订单
    public static final String CUSTOMER_SHARED_GIFTPACKET_ORDERS = "/customer/shared/giftpacket/orders";

    //微信小程序 查询爆款产品列表
    public static final String PRODUCT_EXPLOSION_LIST = "/product/explosion/list";

    public static final String CUSTOMER_GIFT_PACKET_CREATE_VERIFY_CODE ="/customer/gift/packet/create/verify/code";
    public static final String CUSTOMER_GIFT_PACKET_TO_VERIFY_LIST ="/customer/gift/packet/to/verify/list";
}
